package org.hamster.common.manager.pointcut.events
{
	import flash.events.Event;
	
	import org.hamster.common.manager.pointcut.vo.PointcutVO;
	
	public class PointcutEvent extends Event
	{
		public static const POINTCUT_FINISH:String   = "pointcutFinish";
		public static const POINTCUT_CANCEL:String   = "pointcutCancel";
		public static const POINTCUT_NEXT:String 	 = "pointcutNext";
		
		private var _pointcutVO:PointcutVO;
		public function get pointcutVO():PointcutVO
		{
			return _pointcutVO;
		}
		
		public function PointcutEvent(type:String, pointcutVO:PointcutVO, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			_pointcutVO = pointcutVO;
		}
		
		override public function clone():Event
		{
			var result:PointcutEvent = new PointcutEvent(type, pointcutVO, bubbles, cancelable);
			return result;
		}
	}
}